<template>
  <div class="ico-list">
    <div class="ico-list-item">
      <img class="ico-list-img" src="@/assets/screen/ico-build3.svg"/>
      <div class="ico-list-txt">商品住宅</div>
      <div class="ico-list-suffix">
        21<span class="ico-list-unit">个</span>
      </div>
    </div>

    <div class="ico-list-item">
      <img class="ico-list-img" src="@/assets/screen/ico-tree.svg"/>
      <div class="ico-list-txt">公共建筑</div>
      <div class="ico-list-suffix">
        12<span class="ico-list-unit">个</span>
      </div>
    </div>

    <div class="ico-list-item">
      <img class="ico-list-img" src="@/assets/screen/ico-build4.svg"/>
      <div class="ico-list-txt">工业建筑</div>
      <div class="ico-list-suffix">
        5<span class="ico-list-unit">个</span>
      </div>
    </div>

    <div class="ico-list-item">
      <img class="ico-list-img" src="@/assets/screen/ico-pipe.svg"/>
      <div class="ico-list-txt">道路管王</div>
      <div class="ico-list-suffix">
        21<span class="ico-list-unit">个</span>
      </div>
    </div>

    <div class="ico-list-item">
      <img class="ico-list-img" src="@/assets/screen/ico-pump.svg"/>
      <div class="ico-list-txt">泵站等</div>
      <div class="ico-list-suffix">
        4<span class="ico-list-unit">个</span>
      </div>
    </div>

  </div>
</template>

<script>
export default {
  name: 'ico-list'
}
</script>

<style lang="scss" scoped>
.ico-list {
  height: 100%;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;

  &-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  &-img {}

  &-txt {
    flex: 1;
    margin: 0 8px;
  }

  &-suffix {
    color: rgba(128, 255, 255, 0.847);
    font-size: 22px;
  }
  &-unit {
    font-size: 12px;
  }
}
</style>
